<!--
 * @Author: WangShuai 1830773767@qq.com
 * @Date: 2025-06-26 10:08:28
 * @LastEditors: WangShuai 1830773767@qq.com
 * @LastEditTime: 2025-06-26 14:35:44
 * @FilePath: \shangyitong\src\pages\user\order\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
	<div class="orderPages">
		<orderDetail v-if="$route.query.orderId"></orderDetail>
		<allOrder v-else></allOrder>
	</div>
</template>

<script setup lang="ts">
import allOrder from './allOrder/index.vue'
import orderDetail from './orderDetail/index.vue'
import { useRoute } from 'vue-router'
import { onMounted } from 'vue'
let $route = useRoute()

onMounted(() => {})
</script>

<style lang="scss" scoped></style>
